import Vue from "vue";
import VueRouter from "vue-router";

/* routes start */
import { homeRoutes } from "../views/home/components/router/index";

// 导入所有router
const routes = [...homeRoutes];

/* routes end */

Vue.use(VueRouter);
const router = new VueRouter({
  mode: "history",
  routes,
});

export default router;
